﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using DiscoveryLogic.XamlParts.Views;
using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Composite.UnityExtensions;

namespace XamlForms
{
	internal class Bootstrapper : UnityBootstrapper
	{
		protected override DependencyObject CreateShell()
		{
			OutlookLikeShell outlookLikeShell = new OutlookLikeShell();
			outlookLikeShell.Show();

			return outlookLikeShell;
		}

		protected override void InitializeModules()
		{
			//IModule solutionModule = this.Container.Resolve<SolutionModule>();
			//solutionModule.Initialize();

			IModule toolboxModule = this.Container.Resolve<ToolboxModule>();
			toolboxModule.Initialize();
		}
	}
}
